package com.blog.common.mapper.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blog.common.domain.entity.PhotoAlbum;
import com.blog.common.domain.vo.PhotoAlbumVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 相册 Mapper 接口
 * </p>
 *
 * @author Valerie
 * @since 2023-02-18
 */
@Mapper
public interface PhotoAlbumMapper extends BaseMapper<PhotoAlbum> {

    /**
     * 获取相册
     *
     * @param photoAlbumVoPage 分页
     * @return {@link Page < PhotoAlbumVo >}
     */
    Page<PhotoAlbumVo> listPhotoAlbum(Page<PhotoAlbumVo> photoAlbumVoPage);
}
